<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <link rel="stylesheet" th:href="@{/web/base/css/bootstrap.min.css}"/>
    <link rel="stylesheet" th:href="@{/web/base/css/bootstrap-reset.css}">
    <link rel="stylesheet" th:href="@{/web/base/css/owl.carousel.css}">
    <link rel="stylesheet" th:href="@{/web/base/css/font-awesome.min.css}">
    <link rel="stylesheet" th:href="@{/web/base/css/style.css}">
    <link rel="stylesheet" th:href="@{/web/base/css/style-responsive.css}">

</head>

<body>

<div class="row">
    <div class="col-md-12">
        <section class="panel">
            <div class="panel-body">
                <div class=" form">
                    <form class="cmxform form-horizontal tasi-form" id="commentForm" action="/master/role/upress"
                          method="post">
                        <input type="hidden" name="id" id="id" th:value="${m.id}">
                        <input type="hidden" name="s" id="s">
                        <input type="hidden" name="ressIds" id="ressids" th:value="${m.ressIds}">
                        <div class="form-group ">
                            <div class="col-md-4">
                                角色&nbsp;<b style="color:red;" th:text="${m.role}"></b>&nbsp;的菜单
                            </div>
                        </div>
                        <div class="form-group ">
                            <div class="col-md-4">
                                <div id="treeRes"></div>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-4">
                                <button class="btn btn-danger" onmouseover="setRessValue()" type="submit">提交</button>
                                <a class="btn btn-info" href="/master/role/list">返回</a>
                            </div>
                        </div>
                    </form>
                </div>

            </div>
        </section>
    </div>
</div>

<script th:src="@{/web/base/js/jquery.min.js}"></script>
<script th:src="@{/web/base/js/bootstrap.min.js}"></script>
<script th:src="@{/web/base/js/jquery.dcjqaccordion.2.7.js}"></script>
<script th:src="@{/web/base/js/jquery.scrollTo.min.js}"></script>
<script th:src="@{/web/base/js/jquery.nicescroll.js}"></script>
<script th:src="@{/web/base/js/bootstrap-treeview.min.js}"></script>
<script src="/web/master/js/treeview.js" type="text/javascript"></script>

</body>
</html>
